Using Kanzi Engine plugins

Kanzi Engine plugins extend the functionality of Kanzi Engine. Kanzi Engine executes these plugins on target platforms. Use a Kanzi Engine plugin to:

To learn how you can use Kanzi Engine plugins, see:

Adding Kanzi Engine plugins to a Kanzi Studio project

To add a Kanzi Engine plugin to a Kanzi Studio project:

  1. In the Library right-click Kanzi Engine Plugins and select Import Kanzi Engine Plugin.
    TIP

    You can automate the importing of Kanzi Engine plugins using a script. See Importing a Kanzi Engine plugin using a script.

  2. Select the DLL file of the plugin you want to import and click Open.
    When you select in the Library > Kanzi Engine Plugins the plugin you imported, in the Properties you can see a list of the content that the plugin brings to the Kanzi Studio project. For example, in the Properties you can see a list of property types, component, data source, render pass, node component, and trigger action types provided by the selected plugin.
  3. Make sure that the solution configuration you use in Visual Studio to build your application and plugin projects matches the settings of your Kanzi Studio project.
    For example, if you use the GL_vs2015_Release solution configuration in Visual Studio, in your Kanzi Studio project in the Project > Properties set:

    With these settings set the Kanzi Studio Preview to work with the plugin.

  4. In the Library > Kanzi Engine Plugins select the plugin and in the Properties make sure that the Is Enabled property is enabled.
    TIP

    Use the Is Enabled property to enable or disable any Kanzi Engine plugin in your project.

  5. Restart the Preview by pressing Ctrl F8, or by selecting Preview > Restart Preview.
    You can now use the content provided by the plugin in your Kanzi Studio project.

Updating Kanzi Engine plugins in a project

When you want to use a different version of a Kanzi Engine plugin that you use in a Kanzi Studio project, you must update that Kanzi Engine plugin in your Kanzi Studio project.

To update Kanzi Engine plugins in a Kanzi Studio project:

  1. Copy the .dll files of the plugins to the same location where the previous versions of the plugins are located.
  2. Update Kanzi Engine plugins in one of these ways:

Removing Kanzi Engine plugins from a project

When you remove a Kanzi Engine plugin from a Kanzi Studio project, Kanzi Studio removes the reference to the Kanzi Engine plugin, but does not delete the dll file of the Kanzi Engine plugin you removed.

To remove a Kanzi Engine plugin from a Kanzi Studio project in the Library > Kanzi Engine Plugins right-click the plugin you want to remove and select Delete.

See also

Creating Kanzi Engine plugins

Kanzi Engine plugins

Importing and updating Kanzi Engine plugins using a script